a = '       1'
b = '     1   1'
c = '    1  2  1'
d = '   1  3 3  1'


print(f'{a}\n'f'{b}\n'f'{c}\n'f'{d}')
